@layout("/common/_form.html",{js:["/assets/system/user/user_edit.js","/assets/system/sys-common.js"],css:["/assets/common/module/formSelects/formSelects-v4.css"]}){

<form class="layui-form" id="userForm" lay-filter="userForm">
    <div class="layui-fluid" style="padding-bottom: 75px;">
        <div class="layui-card">
            <div class="layui-card-header">基础信息</div>
            <div class="layui-card-body">
                <input name="userId" type="hidden"/>
                <input name="avatar" id="avatar" type="hidden"/>
                <table class="layui-table">
                    <tr>
                        <td style="width: 120px; text-align: right;"><div class="layui-inline layui-form-required">账号</div></td>
                        <td><input name="account" id="account" type="text" class="layui-input" lay-verify="required|maxlength50" readonly/></td>
                        <td style="width: 120px; text-align: right;"><div class="layui-inline layui-form-required">姓名</div></td>
                        <td><input name="name" id="name" type="text" class="layui-input" lay-verify="required|maxlength50" required/></td>
                        <td rowspan="4" colspan="2" style="text-align: center;">
                            <img style="max-height: 160px; max-width: 150px;" src="${ctxPath}/assets/common/images/noimg.jpg" id="photo"><br />
                            <input type="button" class="layui-btn" id="uploadPhoto" value="上传头像" style="margin-top: 10px;" />
                        </td>
                    </tr>
                    <tr>
                        <td style="width: 120px; text-align: right;"><div class="layui-inline layui-form-required">身份证号</div></td>
                        <td colspan="3"> <input name="cardNo" id="cardNo" type="text" lay-verify="required|cardNoCheck" style="background: none !important;" class="layui-input"></td>
                    </tr>
                    <tr>
                        <td style="width: 120px; text-align: right;"><div class="layui-inline layui-form-required">手机号码</div></td>
                        <td><input id="phone" name="phone" type="text" class="layui-input" lay-verify="required|maxlength20"/></td>
                        <td style="width: 120px; text-align: right;"><div class="layui-inline layui-form-required">所属部门</div></td>
                        <td >
                            <input type="hidden" id="deptId" name="deptId" />
                            <input id="deptName" name="deptName" type="text" class="layui-input" lay-verify="required"  readonly />
                        </td>
                    </tr>
                </table>
            </div>
        </div>
    </div>
    <div class="form-group-bottom text-center">
        <button class="layui-btn" lay-filter="btnSubmit" lay-submit>&emsp;提交&emsp;</button>
        <button type="button" id="cancelBtn" class="layui-btn layui-btn-primary"  workFlowForm="closeBtn">&emsp;关闭&emsp;</button>
    </div>

</form>

@}
